﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;

namespace iss.sg4210.se18.team6s.Views.Utility
{
    public static class Common
    {
        public static Guid GetLoggedInUserId()
        {
            MembershipUser user = Membership.GetUser(true);
            return user != null ? (Guid)user.ProviderUserKey : Guid.Empty;
        }
    }
}